Repository navigation
hash: every key derivation defaults to backends::hash2 (design D33) - #17
Merged
Merged
Conversation
…ement decides a default (design D33) The owner's decisions of 2026-11-16 replace the measured default: backends::hash2 for hkdf, hkdf_extract, hkdf_expand and pbkdf2 on every target and link set, backends::sodium for argon2id and scrypt, their only backend; BearSSL, OpenSSL and libsodium's HKDF only when named in the type. The profiles, hash's reading of the umbrella profile, the per-algorithm overrides, detail/ranking.hpp, tools/hash/measure.py and the measure lane are retired; doc/measurements.* stay as a reference measured on 2026-11-16 that decides nothing. D8, D20, D28 and D32 are superseded, D18 and D25 in part; the spec's requirements and scenarios, reference/spec.md 4.1 and 4.2, the plan's notes and task 1.26 follow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Records the owner's decisions of 2026-11-16 in webcpp::hash's genesis proposal.
backends::hash2is the default ofhkdf,hkdf_extract,hkdf_expandandpbkdf2on every target and link set;backends::sodiumforargon2idandscrypt, their only backend. BearSSL, OpenSSL and libsodium's HKDF are reached only by naming them in the type. No measurement or define decides a default.detail/ranking.hpp,tools/hash/measure.pyand the measure lane.doc/measurements.*stay as a reference measured on 2026-11-16 that decides nothing.reference/spec.md4.1 and 4.2, the plan's notes, STATUS and task 1.26 follow.Implemented by webcpporg/hash and webcpporg/webcpp branches
hash/defaults-hash2.Checks: OpenSpec 1.10.0
validate --all --strict --no-interactivein every root (0 failed),tools/proposals.py readmeandcheck(29 proposals, 0 problems),tools/proposals_test.py(18 tests, OK).🤖 Generated with Claude Code